<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN">
<head>
<title>编辑用户</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="zh-CN" />
<meta name="copyright" content="" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta name="robots" content="all" />
<meta name="generator" content="EditPlus" />

<style type="text/css" media="screen">
   @import url(../css/mngMain.css);
</style>

</head>



<body>
<div class="controlBox">
	<%@include file="../admin_top.jsp" %>
	<div class="mngMain">
		<div class="mngLeft">
			<%@include file="../admin_menu.jsp" %>
		</div>
		<div class="mngRight">
			<div class="mngRightContainer">
				<div class="mngRightContainerT">编辑用户</div>
                <html:form action="editUser" styleId="createUserForm">
                <input type="hidden" name="userId" value="<%=request.getParameter("userId")%>" />
					<div class="mngRightContainerM">
						<table class="addUser">
							<tr>
								<th>用户名：</th>
							  	<td><input type="text" name="username" value="${user.username}"  styleId="userNameId"/><span>*</span><span id="username_message"></span></td>
							</tr>
							<tr>
								<th>用户昵称：</th>
							  	<td><input type="text" name="nickname" value="${user.nickname}"  styleId="nickname_jq"/><span>*</span><span id="nickname_message"></span></td>
							</tr>
							<tr>
								<th>姓 别：</th>
								<td><input type="text" name="sex" value="${user.sex}"  styleId="nickname_jq"/></td>
							</tr>
							<tr>
								<th>密 码：</th>
								<td><input type="text" name="pwd" value="${user.pwd}"  styleId="password_jq"/><span>*</span><span id="password_message"></span></td>
							</tr>
							<tr>
								<th>确认密码：</th>
								<td><input type="text" name="pwd" value="${user.pwd}"  styleId="password2_jq"/><span>*</span><span id="password2_message"></span></td>
							</tr>
							<tr>
								<th>联系人：</th>
								<td><input type="text" name="contactPerson" value="${user.contactPerson}"  styleId="contact_person_jq"/></td>
							</tr>
							<tr>
								<th>联系电话：</th>
								<td><input type="text" name="telphone" value="${user.telphone}"  styleId="telphone_jq"/></td>
							</tr>
							<tr>
								<th>电子邮件：</th>
								<td><input type="text" name="email" value="${user.email}"  styleId="email_jq"/>			
								 <input type="hidden" id="usertype_jq" name="type" value="1"/>
								</td>
							</tr>
							<tr>
								<th>传 真：</th>
								<td><input type="text" name="fax" value="${user.fax}" /></td>
							</tr>
							<tr>
								<th>MSN：</th>
								<td><input type="text" name="msn" value="${user.msn}" /></td>
							</tr>
							<tr>
								<th>QQ：</th>
								<td><input type="text" name="qq" value="${user.qq}" /></td>
							</tr>
							<tr>
								<th>公司名称：</th>
								<td><input type="text" name="qq" value="${user.companyName}" /></td>
							</tr>
							<tr>
								<th>公司地址：</th>
								<td><input type="text" name="qq" value="${user.companyAddress}" /></td>
							</tr>
							
							
							<tr>
								<td></td>
								<td>
								<a href="#" onclick="javascript:submit()" id="topicSubmit">确定</a>
								<a href="javascript:history.back(-1)">返回</a>
								</td>
							</tr>
						</table>
					</div>
				</html:form>				
			</div>
		</div>
	</div>
	<div class="mngBottom">
		<div class="mngLine"></div>
	</div>
</div>
</body>
</html>